package com.toy.service;


import com.toy.vo.ImageVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @author tystart
 * @create 2022-08-25-16:37
 */
public interface FileService {
    ImageVO upload(MultipartFile file) throws IOException;

    void removeFile(String virtualPath);

    void removeFiles(List<String> virtualPaths);
}
